package com.y.report.entity.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author y
 * @since 2021-09-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="YReportUser对象", description="")
public class YReportUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "角色：0-普通用户、1-管理员")
    private String role;

    @ApiModelProperty(value = "资源列表")
    private String resource;

    @ApiModelProperty(value = "描述信息")
    private String remark;

    @ApiModelProperty(value = "0-正常，1-禁用")
    private Integer delFlag;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime uTime;

    @ApiModelProperty(value = "插入时间")
    private LocalDateTime iTime;


}
